<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:icecore="http://www.icefaces.org/icefaces/core"  xmlns:ace="http://www.icefaces.org/icefaces/components"   xmlns:ice="http://www.icesoft.com/icefaces/component" 
	>
    <h:head>
        <title>Inicio</title>
        <link rel="stylesheet" type="text/css" href="css/rime/rime.css"/>
    </h:head>
    <h:body styleClass="ice-skin-rime">    
             <ice:form id="form">
             <ice:panelGrid columns="2">
             	<ice:outputText value="Nombre de Usuario"  partialSubmit="true"/>
                <ice:inputText id="nombreUsuario" value="#{loginBean.nombreUsuario}" >
                	<f:validateLength maximum="20" minimum="1"/>
                </ice:inputText>
               	<ice:outputText value="Contraseña"/>
                <ice:inputSecret value="#{loginBean.contrasena}"/>
                <ice:commandButton type="submit" action="#{loginBean.conectar}" value="Enviar"/>                    
        		<ice:commandButton type="reset"  action="#{loginBean.limpiar}" value="Reset"/>
              </ice:panelGrid>
              
              <ice:panelGrid>
                    <ice:outputLink value="registroNuevoUsuario.xhtml" target="_self">Nuevo Usuario</ice:outputLink>
               </ice:panelGrid>
              
             </ice:form>
    </h:body>
</html>